/* 网站入口：.xtx-entry */

.xtx-entry {
  height: 500px;
  background-color: #f5f5f5;
}

.xtx-entry .container {
  position: relative;
  height: 500px;
  /* ps */
  /* background-color: pink; */
}

.xtx-entry .container .category {
  /* 子绝父相 */
  position: absolute;
  left: 0;
  top: 0;
  width: 251px;
  height: 500px;
  background-color: rgba(0, 0, 0, .8);
}

.xtx-entry .category a {
  color: #fff;
}

.xtx-entry .category li {
  position: relative;
  height: 50px;
  padding-left: 36px;
  line-height: 50px;
}

.xtx-entry .category li:hover {
  background-color: #27ba9b;
}

.xtx-entry .category span {
  font-size: 14px;
}

.xtx-entry .category span:first-child {
  margin-left: 15px;
}

.xtx-entry .category a::after {
  content: '';
  position: absolute;
  right: 19px;
  top: 19px;
  width: 6px;
  height: 11px;
  /* ps */
  /* background-color: red; */
  background: url('../images/sprites.png') -80px -110px;
}

.xtx-entry .prev {
  position: absolute;
  top: 228px;
  left: 260px;
  width: 45px;
  height: 45px;
  /* background-color: rgba(0, 0, 0, .2); */
  border-radius: 50%;
  background: rgba(0, 0, 0, .2) url(../images/sprites.png) 13px -60px;
}

.xtx-entry .next {
  position: absolute;
  top: 228px;
  right: 10px;
  width: 45px;
  height: 45px;
  /* background-color: rgba(0, 0, 0, .2); */
  border-radius: 50%;
  background: rgba(0, 0, 0, .2) url(../images/sprites.png) -23px -60px;
}

.xtx-entry .indicator {
  position: absolute;
  left: 680px;
  bottom: 31px;
  width: 110px;
  height: 10px;
  /* ps */
  /* background-color: red; */
}

.xtx-entry .indicator li {
  float: left;
  width: 10px;
  height: 10px;
  margin-right: 15px;
  background-color: rgba(255, 255, 255, .43);
  border-radius: 50%;
}

.xtx-entry .indicator li.active {
  background-color: #fff;
}

.xtx-entry .indicator li:last-child {
  margin-right: 0;
}

/* 新鲜好物模块：xtx-new-goods*/

.xtx-new-goods {
  height: 520px;
  /* ps */
  /* background-color: skyblue; */
}

.box-base-hd {
  height: 115px;
  line-height: 115px;
  /* ps */
  /* background-color: pink; */
}

.box-base-hd h2 {
  height: 115px;
  font-size: 29px;
  font-weight: 400;
}

.box-base-hd h2 span {
  font-size: 16px;
  color: #999;
}

.xtx-new-goods .box-base-hd a {
  color: #999;
}

.xtx-new-goods .box-base-hd a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 13px;
  /* ps */
  /* background-color: red; */
  background: url('../images/sprites.png') 0px -110px;
  vertical-align: middle;
}

.xtx-new-goods .goods-list {
  height: 405px;
  /* ps */
  /* background-color: orange; */
}

.xtx-new-goods .goods-list li {
  float: left;
  width: 304px;
  height: 405px;
  margin-right: 8px;
  background-color: #f0f9f4;
  /* 去除文字上下间距，到达精准布局 */
  line-height: 1;
  text-align: center;
  transition: all .5s;
}

.xtx-new-goods .goods-list li:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 3px 8px rgb(0 0 0 / 20%);
}

.xtx-new-goods .goods-list li:last-child {
  margin-right: 0;
}

.xtx-new-goods .goods-list li img {
  width: 100%;
}

.xtx-new-goods .goods-list li h3 {
  height: 40px;
  margin-top: 13px;
  font-size: 20px;
  font-weight: 400;
}

.xtx-new-goods .goods-list li p {
  color: #9a2e1f;
  font-size: 23px;
}

.xtx-new-goods .goods-list li span {
  font-size: 17px;
}

/* 人气推荐模块：.xtx-popular */

.xtx-popular {
  height: 541px;
  /* ps */
  /* background-color: skyblue; */
}

.xtx-popular .popular-list {
  height: 406px;
  /* ps */
  /* background-color: skyblue; */
}

.xtx-popular .popular-list li {
  float: left;
  width: 304px;
  height: 406px;
  margin-right: 8px;
  /* ps */
  /* background-color: orange; */
  line-height: 1;
  text-align: center;
  transition: all .5s;
}

.xtx-popular .popular-list li:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 20%);
}

.xtx-popular .popular-list li:last-child {
  margin-right: 0;
}

.xtx-popular .popular-list li img {
  width: 100%;
}

.xtx-popular .popular-list li h3 {
  height: 42px;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 400;
}

.xtx-popular .popular-list li p {
  color: #999;
  font-size: 18px;
}

/* 热门品牌模块：.xtx-brand-goods */

.xtx-brand-goods {
  height: 460px;
  background-color: #f5f5f5;
}

.xtx-brand-goods .container {
  height: 460px;
  /* ps */
  /* background-color: skyblue; */
}

.xtx-brand-goods .brand-goods-hd {
  height: 35px;
  padding: 40px 0;
  line-height: 35px;
  /* ps */
  /* background-color: orange; */
}

.xtx-brand-goods .brand-goods-hd h3 {
  height: 35px;
  font-size: 32px;
  font-weight: 400;
}

.xtx-brand-goods .brand-goods-hd h3 span {
  margin-left: 6px;
  font-size: 16px;
  color: #999;
}

.xtx-brand-goods .brand-goods-hd a {
  width: 20px;
  height: 20px;
  background-color: #ccc;
  text-align: center;
  line-height: 20px;
  color: #fff;
}

.xtx-brand-goods .brand-goods-hd a.next {
  margin-left: 5px;
}

.xtx-brand-goods .brand-goods-hd a.active {
  background-color: #27ba9b;
}

.xtx-brand-goods .box {
  height: 345px;
  /* ps */
  /* background-color: skyblue; */
}

.xtx-brand-goods .box .brand-goods-list {
  height: 345px;
}

.xtx-brand-goods .brand-goods-list li {
  float: left;
  width: 240px;
  height: 305px;
  margin-right: 10px;
  /* background-color: orange; */
  transition: all .2s;
}

.xtx-brand-goods .brand-goods-list li:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 20%);
}

.xtx-brand-goods .brand-goods-list li:last-child {
  margin-right: 0;
}

.xtx-brand-goods .brand-goods-list a img {
  width: 100%;
}

/* 生鲜模块：.xtx-classify-box */

.box-list {
  height: 611px;
  /* ps */
  /* background-color: skyblue; */
}

.box-hd {
  position: relative;
  height: 35px;
  padding: 40px 0;
  line-height: 35px;
}

.box-hd h3 {
  font-size: 29px;
  font-weight: 400;
}

.xtx-classify-box .box-hd ul {
  position: absolute;
  right: 173px;
  height: 35px;
}

.xtx-classify-box .box-hd li {
  float: left;
  margin-right: 16px;
}

.xtx-classify-box .box-hd li a {
  height: 25px;
  padding: 5px;
  color: #000;
  font-size: 16px;
  transition: all .2s;
}

.xtx-classify-box .box-hd li a:hover {
  background-color: #27ba9b;
  color: #fff;
  border-radius: 5px;
}

.box-hd a {
  font-size: 16px;
  color: #999;
}

.box-hd>a::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 13px;
  background: url(../images/sprites.png) 0 -110px;
  vertical-align: middle;
}

.xtx-classify-box .box-list .box-left {
  position: relative;
  overflow: hidden;
  width: 240px;
  height: 611px;
}

.xtx-classify-box .box-list .box-left:hover .sidebar {
  left: 0;
}

.xtx-classify-box .box-left img {
  width: 100%;
}

.xtx-classify-box .box-list .sidebar {
  position: absolute;
  top: 346px;
  left: -176px;
  width: 188px;
  height: 67px;
  color: #fff;
  transition: all .3s;
}

.xtx-classify-box .box-list .sidebar h3 {
  float: left;
  width: 76px;
  height: 68px;
  background-color: #000;
  line-height: 68px;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
}

.xtx-classify-box .box-list .sidebar span {
  float: left;
  width: 100px;
  line-height: 68px;
  background-color: rgb(0 0 0 / 80%);
}

.xtx-classify-box .box-list ul {
  width: 1000px;
  height: 611px;
}

.xtx-classify-box .box-list li {
  position: relative;
  float: left;
  overflow: hidden;
  width: 240px;
  height: 300px;
  margin-left: 10px;
  margin-bottom: 10px;
  border: 1px solid #fff;
  box-sizing: border-box;
  /* margin-bottom: 10px; */
  background-color: #fff;
  transition: border .5s;
}

.xtx-classify-box .box-list li:nth-last-child(-n+4) {
  margin-bottom: 0;
}

.xtx-classify-box .box-list li:hover {
  border-color: #27ba9b;
}

.xtx-classify-box .box-list li:hover .same {
  bottom: 0;
}

.xtx-classify-box .box-list li img {
  width: 206px;
  height: 186px;
  margin-left: 17px;
}

.xtx-classify-box .box-list li>a h3 {
  height: 70px;
  margin-top: 5px;
  margin-left: 30px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
}

.xtx-classify-box .box-list li>a p {
  margin-top: 5px;
  margin-left: 30px;
  font-size: 22px;
  color: #9a2e1f;
}

.xtx-classify-box .box-list .same a {
  display: block;
  padding-top: 15px;
}

.xtx-classify-box .box-list .same {
  position: absolute;
  /* width: 238px; */
  width: 100%;
  height: 86px;
  bottom: -88px;
  background-color: #27ba9b;
  text-align: center;
  transition: bottom .5s;
}

.xtx-classify-box .box-list .same h3 {
  width: 120px;
  height: 30px;
  line-height: 30px;
  margin: 0 auto;
  border-bottom: 1px solid #fff;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
}

.xtx-classify-box .box-list .same p {
  margin-top: 5px;
  font-size: 13px;
  color: #fff;
}

.xtx-classify-box .box-list .same p::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 5px;
  background: url(../images/sprites.png) -80px -110px;
  vertical-align: middle;
}

/* 最新专题模块：bottom-box */

.bottom-box {
  height: 508px;
  margin-top: 58px;
  background-color: #f5f5f5;
}

.bottom-box .bottom-box-list {
  height: 356px;
  /* ps */
  /* background-color: orange; */
}

.bottom-box .bottom-box-list li {
  float: left;
  width: 405px;
  height: 356px;
  margin-right: 12px;
  background-color: #fff;
  transition: all .3s;
}

.bottom-box .bottom-box-list li:hover {
  transform: translate3d(0, -3px, 0);
  box-shadow: 0 3px 8px rgb(0 0 0 / 20%);
}

.bottom-box .bottom-box-list li:last-child {
  margin-right: 0;
}

.bottom-box .bottom-box-list li img {
  width: 100%;
}

.bottom-box .bottom-box-list .lable {
  margin-top: 24px;
  font-size: 14px;
}

.bottom-box .lable span.talk {
  margin-right: 19px;
}

.bottom-box .lable span::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 19px;
  margin-left: 17px;
  margin-right: 3px;
  background: url(../images/sprites.png) -120px -109px;
  /* background-color: red; */
  vertical-align: middle;
}

.bottom-box .lable span:nth-child(2)::before {
  background: url(../images/sprites.png) -160px -108px;
}

.bottom-box .lable span:nth-child(1):hover::before {
  background: url(../images/sprites.png) -240px -109px;
}

.bottom-box .lable span:nth-child(3)::before {
  background: url(../images/sprites.png) -200px -109px;
}

.service-box {
  overflow: hidden;
  height: 290px;
}

.service-box .service-item {
  float: left;
  margin-top: 60px;
  width: 310px;
  height: 190px;
  /* ps */
  /* background-color: red; */
  box-sizing: border-box;
  border-right: 2px solid #f2f2f2;
  text-align: center;
}

.service-box .service-item:last-child {
  border-right: 0;
}

.service-box .service-item h4 {
  color: #999;
  font-weight: 400;
  font-size: 16px;
}

.service-box .service-item a {
  display: inline-block;
  width: 90px;
  height: 90px;
  margin-top: 36px;
  box-sizing: border-box;
  border: 2px solid #f9f9f9;
}

.service-box .service-item a div {
  width: 36px;
  height: 30px;
  margin: 20px auto 5px;
}

.service-box .service-item a .service-icon1 {
  background: url(../images/sprites.png) -250px -70px;
}

.service-box .service-item a .service-icon1:hover {
  background: url(../images/sprites.png) -205px -70px;
}

.service-box .service-item a .service-icon2 {
  background: url(../images/sprites.png) -350px -70px;
}

.service-box .service-item a .service-icon2:hover {
  background: url(../images/sprites.png) -300px -70px;
}

.service-box .service-item a .service-icon3 {
  background: url(../images/sprites.png) -250px -15px;
}

.service-box .service-item a .service-icon3:hover {
  background: url(../images/sprites.png) -205px -15px;
}

.service-box .service-item a .service-icon4 {
  background: url(../images/sprites.png) -350px -15px;
}

.service-box .service-item a .service-icon4:hover {
  background: url(../images/sprites.png) -300px -15px;
}

.service-box .service-item .QR {
  float: left;
  width: 120px;
  height: 120px;
  margin-top: 25px;
  margin-left: 33px;
  background-image: url(../uploads/qrcode.jpg);
  background-size: 120px 120px;
  border: 1px solid #f2f2f2;
}

.service-box .service-item .app {
  float: left;
  margin-top: 38px;
  margin-left: 25px;
  color: #999;
}

.service-box .service-item button {
  width: 106px;
  height: 36px;
  margin-top: 15px;
  background-color: #27ba9b;
  border: 0;
  color: #fff;
  transition: background-color .2s;
  
}

.service-box .service-item button:hover {
  background-color: #67aa96;
}

.service-box .service-item h5 {
  margin-top: 40px;
  color: #666;
  font-weight: 400;
  font-size: 22px;
}

.service-box .service-item h5+p {
  margin-top: 15px;
  color: #999;
  font-size: 15px;
}
